<template>
  <el-container class="allbody" onscroll="false">
    <el-main style="height: 100%; z-index: 5">
      <el-row style="width: 100%; height: 5%">
        <breadcrumb :naviItems.sync="naviItems"></breadcrumb>
      </el-row>
      <!--<Calendar-->
      <!--v-on:choseDay="clickDay"-->
      <!--v-on:changeMonth="changeDate"-->
      <!--&gt;</Calendar>-->
      <!--<el-row style="width: 100%;height: 10%">-->
      <!--<el-form :inline="true" class="demo-form-inline" style="margin-top: 20px;margin-left: 10px">-->
      <!--<el-form-item label="年份">-->
      <!--<el-select v-model="location" placeholder="请选择" @change="yearChange">-->
      <!--<el-option   v-for="item in options1" :key="item.value" :label="item.label" :value="item.value"></el-option>-->
      <!--</el-select>-->
      <!--</el-form-item>-->
      <!--<el-form-item label="月份">-->
      <!--<el-select v-model="city" placeholder="请选择"@change="monthChange">-->
      <!--<el-option-->
      <!--v-for="item in options2"-->
      <!--:key="item.value"-->
      <!--:label="item.label"-->
      <!--:value="item.value">-->
      <!--</el-option>-->
      <!--</el-select>-->
      <!--</el-form-item>-->
      <!--<el-form-item label="日期">-->
      <!--<el-select v-model="enterprises" placeholder="请选择"@change="dayChange">-->
      <!--<el-option-->
      <!--v-for="item in options"-->
      <!--:key="item.value"-->
      <!--:label="item.label"-->
      <!--:value="item.value">-->
      <!--</el-option>-->
      <!--</el-select>-->
      <!--</el-form-item>-->

      <!--<el-form-item>-->
      <!--<el-button style="color: #009bfe" @click="show">查询</el-button>-->
      <!--</el-form-item>-->
      <!--</el-form>-->

      <!--</el-row>-->
      <el-row style="height: 20%">
        <div class="block" style="height: 100%">
          <el-carousel height="100px" :autoplay="true" :loop="true">
            <el-carousel-item v-for="item in 4" :key="item">
              <h3 class="small">{{ list[item - 1] }}</h3>
            </el-carousel-item>
          </el-carousel>
        </div>
      </el-row>

      <el-row style="margin-top: -3%; height: 80%; width: 100%">
        <el-container style="height: 16%; width: 100%">
          <el-aside
            style="
              height: 100%;
              width: 10%;
              border: 1px solid #3b7cbd;
              background-color: #538fbd;
            "
          >
            <div
              style="
                color: white;
                font-size: 30px;
                margin-top: 35px;
                text-align: center;
              "
            >
              序号
            </div>
          </el-aside>
          <el-aside
            style="
              height: 100%;
              width: 10%;
              border: 1px solid #3b7cbd;
              background-color: #538fbd;
            "
          >
            <div
              style="
                color: white;
                font-size: 30px;
                margin-top: 35px;
                text-align: center;
              "
            >
              评估指标
            </div>
          </el-aside>
          <el-aside
            style="
              height: 100%;
              width: 12%;
              border: 1px solid #3b7cbd;
              background-color: #538fbd;
            "
          >
            <div
              style="
                color: white;
                font-size: 30px;
                margin-top: 35px;
                text-align: center;
              "
            >
              权重
            </div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 50%">
              <el-aside
                style="
                  height: 100%;
                  width: 100%;
                  border: 1px solid #3b7cbd;
                  background-color: #538fbd;
                "
              >
                <div
                  style="
                    color: white;
                    font-size: 25px;
                    margin-top: 12px;
                    text-align: center;
                  "
                >
                  分级标准
                </div>
              </el-aside>
            </el-container>

            <el-container style="width: 100%; height: 50%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 12px;
                    text-align: center;
                  "
                >
                  1（2.5分）
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 12px;
                    text-align: center;
                  "
                >
                  2（5分）
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 12px;
                    text-align: center;
                  "
                >
                  3（7.5分）
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 12px;
                    text-align: center;
                  "
                >
                  4（10分）
                </div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>
        <el-container style="height: 14%; width: 100%">
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 22px;
                margin-top: 2px;
                text-align: center;
              "
            ></div>
          </el-aside>
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                font-weight: 1000;
                margin-top: 35px;
                text-align: center;
              "
            >
              事故后果严重度
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 12%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 22px;
                margin-top: 2px;
                text-align: center;
              "
            ></div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 100%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 2px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 2px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 2px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 2px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>
        <el-container style="height: 14%; width: 100%">
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              1
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              使用场所
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 12%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              0.2
            </div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 100%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  其他
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  企业工地
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  公共场所
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  学校、医院文物保护区
                </div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>
        <el-container style="height: 14%; width: 100%">
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            ></div>
          </el-aside>
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                font-weight: 1000;
                margin-top: 35px;
                text-align: center;
              "
            >
              事故可能性
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 12%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            ></div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 100%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                ></div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>

        <el-container style="height: 14%; width: 100%">
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              2
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              工作级别
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 12%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              0.3
            </div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 100%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  A1-A3
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  A4-A5
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  A6-A7
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  A8
                </div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>
        <el-container style="height: 14%; width: 100%">
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              3
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              使用年限
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 12%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              0.4
            </div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 100%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  ＜5年
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  [5,10)年
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  [10,15)年
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 25px;
                    margin-top: 35px;
                    text-align: center;
                  "
                >
                  ≥15年
                </div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>

        <el-container style="height: 20%; width: 100%">
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              4
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 10%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              环境条件
            </div>
          </el-aside>
          <el-aside style="height: 100%; width: 12%; border: 1px solid #3b7cbd">
            <div
              style="
                color: black;
                font-size: 25px;
                margin-top: 35px;
                text-align: center;
              "
            >
              0.1
            </div>
          </el-aside>

          <el-aside style="height: 100%; width: 68%">
            <el-container style="width: 100%; height: 100%">
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 45px;
                    text-align: center;
                  "
                >
                  一般环境条件（无特殊环境符合项
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 25px;
                    text-align: center;
                  "
                >
                  符合特殊环境（高温、严寒、强风、潮湿、易燃易爆、高腐蚀性、有毒有害、粉尘）1项
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 25px;
                    text-align: center;
                  "
                >
                  符合特殊环境（高温、严寒、强风、潮湿、易燃易爆、高腐蚀性、有毒有害、粉尘）2项
                </div>
              </el-aside>
              <el-aside
                style="height: 100%; width: 25%; border: 1px solid #3b7cbd"
              >
                <div
                  style="
                    color: black;
                    font-size: 22px;
                    margin-top: 25px;
                    text-align: center;
                  "
                >
                  符合特殊环境（高温、严寒、强风、潮湿、易燃易爆、高腐蚀性、有毒有害、粉尘）2项以上
                </div>
              </el-aside>
            </el-container>
          </el-aside>
        </el-container>
      </el-row>
    </el-main>
  </el-container>
</template>

<script>
import ElContainer from "element-ui/packages/container/src/main";
import ElAside from "element-ui/packages/aside/src/main";
import ElHeader from "element-ui/packages/header/src/main";
import ElMain from "element-ui/packages/main/src/main";
import Breadcrumb from "../../../../components/QipingBreadCrumb/BreadCrumb.vue";
import { get, get as userType, del, dels } from "@/api/sys/connSysAuthApi";
import { parseTime } from "@/utils";
import { req } from "@/api/base/BaseApi";

import Calendar from "vue-calendar-component";

export default {
  name: "index",
  components: { Calendar ,Breadcrumb},
  comments: {
    ElMain,
    ElHeader,
    ElAside,
    ElContainer,
  },
  methods: {
    dateFormat(time) {
      var date = new Date(time);
      var year = date.getFullYear();
      /* 在日期格式中，月份是从0开始的，因此要加0
       * 使用三元表达式在小于10的前面加0，以达到格式统一  如 09:11:05
       * */
      var month =
        date.getMonth() + 1 < 10
          ? "0" + (date.getMonth() + 1)
          : date.getMonth() + 1;
      var day = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
      var hours =
        date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
      var minutes =
        date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
      var seconds =
        date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
      // 拼接
      return (
        year +
        "-" +
        month +
        "-" +
        day +
        " " +
        hours +
        ":" +
        minutes +
        ":" +
        seconds
      );
    },
    tableRowStyle({ row, rowIndex }) {
      return "background-color: #02152f;color: #fff";
    },
    tableHeaderColor({ row, column, rowIndex, columnIndex }) {
      if (rowIndex === 0) {
        return "background-color: #2ec7c9;color: #fff;font-weight: 500;";
      }
    },
    handleSetLineChartData(type) {
      this.lineChartData = lineChartData[type];
    },
    getRowClass({ row, column, rowIndex, columnIndex }) {
      return "background:#06134A;color:#72C22D;";
    },
    getTableDataFormSon(data) {
      const tableDataTemp = data;
      this.tableData = [];
      for (let j = 9; j >= 0; j--) {
        const tableDataI = {};
        for (let i = 0; i < this.measurePoints.length; i++) {
          const point = this.measurePoints[i];
          const values = tableDataTemp.get(point);
          const date = new Date(values[j].name);
          if (i <= 0) {
            tableDataI["time"] =
              date.getFullYear() +
              "/" +
              (date.getMonth() + 1) +
              "/" +
              date.getDate() +
              " " +
              date.getHours() +
              ":" +
              date.getMinutes() +
              ":" +
              date.getSeconds();
          }
          tableDataI[point + "value"] = values[j].value;
        }
        this.tableData.push(tableDataI);
      }
      this.currTableData = [];
      for (let i = 0; i < this.measurePoints.length; i++) {
        const point = this.measurePoints[i];
        const values = tableDataTemp.get(point);
        const date = new Date(values[values.length - 1].name);
        this.currTableData.push({
          point: point,
          data: values[values.length - 1].value,
          time:
            date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds(),
        });
      }
    },
    show() {
      //显示所有工艺流程信息

      this.mydate = this.year + "-" + this.month + "-" + this.day;
      console.log(this.mydate);
      req("/api/sys/auth/MG/pointList/" + this.mydate, "GET", "")
        .then((response) => {
          var i = 0;
          var str = "";
          for (i; i < 56; i++) {
            if (i < 7) {
              str = "f00";
            } else {
              str = "f0";
            }
            str += i + 3;
            this.tableData[i].workTemperature = response.data[0][str];
            //console.log(this.tableData[i].workTemperature)
          }
        })
        .catch(() => console.log("page request error"));
    },
    yearChange(id, type) {
      this.year = id;
    },
    monthChange(id, type) {
      this.month = id;
    },
    dayChange(id, type) {
      this.day = id;
    },
  },
  created() {
    // req('/api/sys/auth/MG/pointIndexList', 'POST', '').then(response => {
    //   var i = 0
    //   for (i; i < 56; i++) {
    //     this.tableData[i].one = response.data[i].id
    //     this.tableData[i].two = response.data[i].part
    //     this.tableData[i].three = response.data[i].partcontent
    //   }
    // }).catch(() => console.log('page request error'))
  },
  data() {
    return {
      date: new Date(),
      year: "",
      month: "",
      day: "",
      mydate: "",
      list: [
        "使用单位名称：马鞍山钢铁股份有限公司",
        "使用地点：马钢第一钢轧总厂2#LF炉精炼跨",
        "投入使用日期：2004-07-02",
        "工作级别：A7",
      ],
      calendar: {},
      tableData: [],
      naviItems: [{ text: "起重机械" }, { text: "数据引擎" },{text:'定检数据'}],
    };
  },
  filters: {
    userTypeFilter(type) {
      let typeText = type;
      userTypes.forEach((val) => {
        if (type === val.value) {
          typeText = val.name;
        }
      });
      return typeText;
    },
    menuFilter(ids) {
      let length = 0;
      if (ids) {
        length = ids.length;
      }
      return length;
    },
    dateTimeFilter(time) {
      return parseTime(time);
    },
  },
  mounted() {
    let _this = this; //声明一个变量指向vue实例this,保证作用域一致
    (this.timer = setInterval(function () {
      _this.date = new Date(); //修改数据date
    }, 1000)),
      console.log(this.$route.path); // 输出当前页面的路由，如：/home
  },
};
</script>

<style lang="less" scoped>
.headerbackgroud {
}
.allbody {
  width: 100%;
  height: 1050px;
}
.rowclass {
  width: 100%;
  height: 50%;
}

#text {
  -webkit-text-fill-color: white;
}
.select {
  color: white;
}
.hello {
  // 未选中任何选项的时候 placeholder的样式 需要先选中父元素 增加权重
  /deep/ input::-webkit-input-placeholder {
    color: #fff;
  }
  /deep/ input::-moz-input-placeholder {
    color: #fff;
  }
  /deep/ input::-ms-input-placeholder {
    color: #fff;
  }

  //修改的是el-input的样式
  //一种方法是设置最里层el-input__inner的背景色 外层的两级父元素设置为透明色
  //另一种方法是从el-select到el-input__inenr的背景色都设置为需要的颜色
  /deep/ .el-select,
  /deep/ .el-input,
  /deep/ .el-input__inner {
    background-color: #08164d;
    color: #fff;
    border: 0px;
    border-radius: 0px;
    text-align: center;
  }
}
.map1,
.map2,
.map3 {
  position: absolute;
  opacity: 0.5;
}
.map1 {
  margin-left: 580px;
  margin-top: 230px;
  z-index: 2;
  animation: myfirst2 15s infinite linear;
}
.map2 {
  margin-left: 625px;
  margin-top: 275px;
  z-index: 3;
  opacity: 0.2;
  animation: myfirst 10s infinite linear;
}
.map3 {
  margin-left: 650px;
  margin-top: 300px;
  z-index: 1;
}

.el-carousel__item h3 {
  color: white;
  font-size: 40px;
  opacity: 0.75;
  position: center;
  margin-top: 1%;
  text-align: center;
}

.el-carousel__item:nth-child(2n) {
  background-color: #538fbd;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #538fbd;
}
.el-carousel_arrow {
  size: 20px;
}
@keyframes myfirst2 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

@keyframes myfirst {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-359deg);
  }
}
</style>
